package com.mallcloud.mall.mall.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "MallPointsInRecordModel", description = "积分收入记录")
@Data
@TableName("JFSRMX")
public class MallPointsInRecordModel implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="卡号")
	@TableField("CDMNO")
	private String cardNo;

	@ApiModelProperty(value="积分")
	@TableField("JF")
	private String points;

	@ApiModelProperty(value="途径")
	@TableField("MFCNAME")
	private String channel;

	@ApiModelProperty(value="最后消费时间")
	@TableField("CSJHTIME")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private Date updateTime;

}
